﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RDC.DATA.Class
{
   public class Venue
    {
        #region Champs

///        LastFM
///        API Key: 24a03f3944e49e33b73e71f73cc5352d
///        Secret: is 91b24bd3033027af2f036c201697b9cf

        private string _id = "inconnu";

        private string _name = "inconnu";

        private string _url = "inconnu";

        private string _website = "inconnu";

        private string _phonenumber = "inconnu";

        private Location _uneLocation = new Location();

        #endregion

        #region propriétés
        /// <summary>
        /// Identifiant de la venue.
        /// </summary>
       public string id
       {
           get { return _id; }
           set { _id = value; }
       }

        /// <summary>
        /// Nom de la venue.
        /// </summary>
       public string name
       {
           get { return _name; }
           set { _name = value; }
       }

        /// <summary>
        /// url de la page de la salle du concert.
        /// </summary>
       public string url
       {
           get { return _url; }
           set { _url = value; }
       }

        /// <summary>
        /// Site de la salle du concert.
        /// </summary>
       public string website
       {
           get { return _website; }
           set { _website = value; }
       }

        /// <summary>
        /// Numero de téléphone de la salle de concert.
        /// </summary>
       public string phonenumber
       {
           get { return _phonenumber; }
           set { _phonenumber = value; }
       }

        /// <summary>
        /// Information sur la location de la salle.
        /// </summary>
       public Location uneLocation
       {
           get { return _uneLocation; }
           set { _uneLocation = value; }
       }

        #endregion

        #region Méthodes

        /// <summary>
        /// Créer une Venue par défaut.
        /// </summary>
       public Venue()
       {
       }
        /// <summary>
        /// Créer une venue complète.
        /// </summary>
        /// <param name="id">Identifiant de la venue</param>
        /// <param name="name">Nom de la venue</param>
        /// <param name="url">url de la venue</param>
        /// <param name="website">Site web de la venue</param>
        /// <param name="phonenumber">N° de téléphone de la venue</param>
        /// <param name="uneLocation">Localisation de la venue</param>
       public Venue(string id, string name, string url, string website, string phonenumber, Location uneLocation)
       {
           this.id = id;
           this.name = name;
           this.url = url;
           this.website = website;
           this.phonenumber = phonenumber;
           this.uneLocation = uneLocation;
       }
        #endregion

    }
}
